<div id="Jpage4">
    <ul id="fiHeader" class="nav nav-tabs">
    </ul>
    <div id="myTabContent" class="tab-content fi-tab-content">
   
    </div>

</div>
<script type="text/javascript" src="Report_List.js"></script>
<script id="Report_List_nav" type="text/template">
    <%_.each(obj, function(item,i) {%>
        <li class="<%if(i==0){%>active<%}%> dropdown">
            <a href="<%=item.href%>" class="dropdown-toggle" <%if(item.list) {%>id="myTabDrop<%=(i+1)%>" data-toggle="dropdown"<%}else{%>data-toggle="tab"<%}%>>
			 <%=item.text%>
			 <%if(item.list) {%>
			 <b class="fa fa-angle-down"></b>
			 <%}%>
		  </a>
            <%if(item.list) {%>
                <ul class="dropdown-menu" role="menu" aria-labelledby="myTabDrop<%=(i+1)%>">
                    <%_.each(item.list, function(items,is) {%>
                        <li class="<%if(i==0 && is==0){%>active<%}%>">
                            <a href="<%=items.href%>" tabindex="-1" data-toggle="tab">
                                <%=items.text%>
                            </a>
                        </li>
                        <%})%>
                </ul>
                <%}%>
        </li>
        <%});%>
</script>
<script id="Report_List_cont" type="text/template">
    <%_.each(obj, function(item,i) {%>
        <%if(item.list) {%>
            <%_.each(item.list, function(items,is) {%>
                <div class="tab-pane fade<%if(i==0 && is==0){%> in active<%}%>" id="<%=items.href.replace('#','')%>">
                </div>
                <%})%>
                    <%}else{%>
                        <div class="tab-pane fade<%if(i==0){%> in active<%}%>" id="<%=item.href.replace('#','')%>">
                        </div>
                        <%}%>
                            <%})%>
</script>
